/**
 * 添加分类节点
 */
export type AddTypeNodeParams = {
  parentId?: number | null;
  parentsType?: string;
  reformTypeName: string;
  orderNum?: number;
  afterSalesType?: number;
};

/**
 * 整改分类节点
 */
export type RectificationTypeNodeItem = {
  reformTypeId: string;
  reformTypeName: string;
  parentId: number;
  depth: 1 | 2 | 3;
  path: string;
  orderNum: number;
};

/**
 * 添加分类节点返回 data
 */
export type AddTypeNodeItem = {
  path: string;
} & RectificationTypeNodeItem;

/**
 * 整改分类节点树
 */
export type RectificationTypeTreeItem = {
  children: RectificationTypeTreeItem[];
} & RectificationTypeNodeItem;

/**
 * 新增编辑标准
 */
export type AddTypeStandardParams = {
  standardDesc: string;
  picUrls?: string;
  picIds?: string;
  videoUrls?: string;
  videoIds?: string;
  packageIds?: any;
  rulesVOList?: any;
};
/**
 * 标准详情
 */
export type TypeStandardDetail = {
  reformTypeId: string;
  reformTypeName: string;
} & AddTypeStandardParams;
